/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.model;
public class TestBuku {
    public static void main(String[] args) {
        Buku test = new Buku ();
        test.setIdKoleksi("Kom3144");
        test.setJudul("Pemrograman Berorientasi Obyek 2");
        test.setIsbn("112.233.445");
        test.setTahun("2012");
            System.out.println("Judul Buku :  "+test.getJudul());
            System.out.println("Id Buku : "+test.getIdKoleksi());
            System.out.println("ISBN Buku : "+test.getIsbn());
            System.out.println("Tahun : "+test.getTahun());
            System.out.println("Terlambat: "+test.isTerlambat(7));
            System.out.println("Denda: "+test.hitungDenda(7));
            System.out.println("");
    }
}
